<template>
  <nav>
    <div>
      <RouterLink to="/">盘点</RouterLink>
    </div>
    <div>
      <RouterLink to="/list">盘点列表</RouterLink>
    </div>
  </nav>
  <main>
    <RouterView />
  </main>
</template>
<style>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
</style>